package com.unitd.frame.springweb.upload.base;

/**
 * @desc 文件上传处理过程中的消息对象类, 用于定义消息显示
 * @filename UploadMsg.java
 * @copyright www.unitd.com
 * @author Hudan
 * @version 1.0
 * @date 2017/4/10
 */
public class UploadMsg {
	/** 上传成功与否 */
	private boolean success = false;
	 /** 上传文件大小 */
	private long size;
	 /** 文件URL */
	private String url;
	 /** 消息内容 */
	private String msg = "上传失败!.";

	public UploadMsg() {
	}

	public boolean isSuccess() {
		return this.success;
	}

	public void setSuccess(boolean success) {
		this.success = success;
	}

	public long getSize() {
		return this.size;
	}

	public void setSize(long size) {
		this.size = size;
	}

	public String getUrl() {
		return this.url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getMsg() {
		return this.msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}
}